package com.zy.user.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (表t_test_gen)数据传输对象
 *
 * @author ZY
 * @date 2021-04-13 19:36:05
 */
@ApiModel("表(t_test_gen)实体类DTO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TestGenDTO {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", example = "1")
    private Integer id;


    /**
     * TODO 请补充字段说明
     */
    @ApiModelProperty(value = "请督促后端同学增加字段说明", example = "a")
    private String name;


    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", example = "1")
    private Integer age;


    /**
     * 工资
     */
    @ApiModelProperty(value = "工资", example = "1.00")
    private Double salary;


    /**
     * TODO 请补充字段说明
     */
    @ApiModelProperty(value = "请督促后端同学增加字段说明", example = "1.00")
    private Double store;


    /**
     * TODO 请补充字段说明
     */
    @ApiModelProperty(value = "请督促后端同学增加字段说明", example = "1.0")
    private Float scale;


    /**
     * 数据日期
     */
    @JsonIgnore
    private Date dataDate;


    /**
     * 数据日期起
     */
    @ApiModelProperty(value = "数据日期起 yyyy-MM-dd", example = "2021-05-20")
    private String dataDateBegin;

    /**
     * 数据日期止
     */
    @ApiModelProperty(value = "数据日期止 yyyy-MM-dd", example = "2021-05-20")
    private String dataDateEnd;

    /**
     * 时间
     */
    @JsonIgnore
    private Date time;


    /**
     * 时间起
     */
    @ApiModelProperty(value = "时间起 yyyy-MM-dd", example = "2021-05-20")
    private String timeBegin;

    /**
     * 时间止
     */
    @ApiModelProperty(value = "时间止 yyyy-MM-dd", example = "2021-05-20")
    private String timeEnd;

    /**
     * 创建时间
     */
    @JsonIgnore
    private Date createTime;


    /**
     * 创建时间起
     */
    @ApiModelProperty(value = "创建时间起 yyyy-MM-dd", example = "2021-05-20")
    private String createTimeBegin;

    /**
     * 创建时间止
     */
    @ApiModelProperty(value = "创建时间止 yyyy-MM-dd", example = "2021-05-20")
    private String createTimeEnd;

    /**
     * 更新时间
     */
    @JsonIgnore
    private Date updateTime;


    /**
     * 更新时间起
     */
    @ApiModelProperty(value = "更新时间起 yyyy-MM-dd", example = "2021-05-20")
    private String updateTimeBegin;

    /**
     * 更新时间止
     */
    @ApiModelProperty(value = "更新时间止 yyyy-MM-dd", example = "2021-05-20")
    private String updateTimeEnd;

    @ApiModelProperty(value = "查询页", required = true, example = "1")
    private Integer pageNum;

    @ApiModelProperty(value = "每页数量", required = true, example = "10")
    private Integer pageSize;
}